package com.guashu.liteflow.node;

import com.yomahub.liteflow.core.NodeBreakComponent;
import org.springframework.stereotype.Component;

@Component("g")
public class GCmp extends NodeBreakComponent {
    @Override
    public boolean processBreak() throws Exception {
        System.out.println("break g组件执行中。。。");
        //为true则退出循环
        return true;
    }
}